<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>字体图标</title>
    <link rel="stylesheet" href="./iconfont/iconfont.css">
    <style>
        .iconfont {
            /* 如果要调整字体大小，注意 选择器的优先级要高于 iconfont 类 */
            font-size: 50px;
            color: red;
        }
    </style>
</head>
<body>
<span class="iconfont icon-xihuan">

</span>
</body>
</html>